#ifndef DWARF__LOCATION_CURSOR_BY_RANGE_H
#define DWARF__LOCATION_CURSOR_BY_RANGE_H

#include "LocationCursor.h"

#include <cstddef>

namespace dwarf {

class LocationCursorByRange : public LocationCursor {
private:
	const void *first_;
	const void *last_;
	const void *current_;
public:
	LocationCursorByRange(const void *_first, const void *_last);
	LocationCursorByRange(const void *_first, size_t _size);
public:
	~LocationCursorByRange();
public:
	Location fetch(Dwarf_Unsigned _byteSize);
};

}

#endif // DWARF__LOCATION_CURSOR_BY_RANGE_H
